home *** CD-ROM | disk | FTP | other *** search
-
- README file for the Pattern application.
-
- The Pattern application is intended to highlight patterns in a Display PostScript
- environment. Patterns are formally defined in Level 2 and will be supported by
- special operators. Applications can include emulations for Pattern handling that
- will work in Level 1 devices. The Pattern application contains these emulations.
- In addition, performance and tiling issues are demonstrated in the application.
-
-
- Below lies an annotated list of the files used in the application.
-
- PatternApp - A subclass of Application. Creates the window with the
- ScrollView, DocView and DrawingView. Provides the
- id's of the items in the Methods Panel (matrices, buttons, etc).
- DocView - A subclass of View. Serves as the DocView for the ScrollView.
- Makes the DrawingView a subview making it easier to
- size and scale the DrawingView. The Drawing View is
- resized whenever the user zooms into or out of the
- document.
- DrawingView - A subclass of View. The view that manages the drawing for a
- document. Contains three simple graphics, a filled rectangle,
- a stroked rectangle and a set of charcaters. Fill the graphics
- with the selected pattern with the selected number of cells
- and with the selected approach.
- Pattern - A subclass of Object. Roughly modeled after the Font object. Provides
- methods for creating and setting patterns.
-
-
- PSWpatterns.psw - PS Routines for turning patterns into Type 3 fonts.
- PSWsamples.m - PS Pattern dictionaries (CircleStar, Octagon, Brick, Weave).
- PSWpatternsdemos.psw - PS routines for drawing and compositing patterns.
- (Not recommended approaches)
-
-
- Topics of interest from the Pattern application:
-
- Displaying patterns as a Type 3 font (Pattern, PSWpatterns.psw)
- Locking the pattern to View space (Pattern, PSWpatterns.psw, DrawingView)
- Pattern Dictionaries (PSWsamples.psw)
- Scaling the view (DocView, DrawingView)
-